//
//  Ball.h
//  OC作业
//
//  Created by dllo on 15/12/1.
//  Copyright © 2015年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Ball : NSObject

//{
//    NSString *_name;
//    NSString *_color;
//
//
//}
//
//- (void)setName:(NSString *)name;
//- (NSString *)name;
//- (void)setColor:(NSString *)color;
//- (NSString *)color;
@property (nonatomic, retain) NSString *name;
@property (nonatomic, retain) NSString *color;


- (instancetype)initWithName:(NSString *)name
                       color:(NSString *)color;

+ (instancetype)ballWithName:(NSString *)name
                       color:(NSString *)color;


@end
